//package com.wzdigit.basic.basic.filter;
//
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
//
//import lombok.extern.slf4j.Slf4j;
//
///**
// * 登陆拦截器
// *
// * @author hsiang
// * @date 2019年1月23日 上午11:44:35
// * @version 0.1.0
// * @copyright Wzdigit Information Technology (Huizhou) Co.,Ltd.
// */
//@Slf4j
//public class LoginRequiredInterceptor extends HandlerInterceptorAdapter {
//
//	@Value("${spring.profiles.active}")
//	private String env;
//
//	@Override
//	public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
//			throws Exception {
//		log.info("[登陆]拦截url:{}，环境:{}" ,request.getRequestURI(), env);
//		return true && super.preHandle(request, response, handler);
//	}
//
//	@Override
//	public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
//			throws Exception {
//		super.afterCompletion(request, response, handler, ex);
//	}
//
//}
